<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>EasyUI-数据表格</title>
    <link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/themes/color.css">
    <link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/demo/demo.css">
    <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="https://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
</head>
<body>

<table class="easyui-datagrid" title="公司列表" style="width:700px;height:250px"
       data-options="singleSelect:true,collapsible:true,url:'/easyui/companies',method:'get'">
    <thead>
        <tr>
            <th data-options="field:'id',width:80">编号</th>
            <th data-options="field:'name',width:100">企业名称</th>
            <th data-options="field:'source',width:80,align:'right'">信息来源</th>
            <th data-options="field:'city',width:80,align:'right'">城市</th>
            <th data-options="field:'updateTime',width:250">修改时间</th>
        </tr>
    </thead>
</table>
</body>
</html>